package com.xq.mapper;

import com.xq.pojo.Type;
import org.apache.ibatis.annotations.Param;

public interface TypeMapper {
    int deleteByPrimaryKey(Integer typeId);

    int insert(Type record);

    int insertSelective(Type record);

    Type selectByPrimaryKey(Integer typeId);

    int updateByPrimaryKeySelective(Type record);

    int updateByPrimaryKey(Type record);

    Type selectByTypeName(@Param("typeName") String typeName);
}